package app.server.project.main.service.db.mapper.user;

import app.server.project.main.service.bo.dbquery.RechargeOrderParam;
import app.server.project.main.service.db.entity.user.RechargeOrderEntity;
import app.server.project.main.service.dto.LuckSumDto;
import app.server.project.main.service.dto.recharge.RechargeOrderDto;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface RechargeOrderMapper extends BaseMapper<RechargeOrderEntity> {

    IPage<RechargeOrderDto> getAllByParam(@Param("page") IPage<RechargeOrderDto> page, @Param("param") RechargeOrderParam param);

    List<LuckSumDto> getLuckData();
}